<template>
  <van-pull-refresh v-model="refreshing" @refresh="onRefresh" v-if="tabActive === 0">
            <van-list
              v-model="loading"
              :finished="finished"
              :finished-text="finishedText"
              @load="onLoad"
            >
              <slot></slot>
            </van-list>
          </van-pull-refresh>
  </van-pull-refresh>
</template>

<script>
export default {
name: "refresh",
  props:{

  }
}
</script>

<style scoped>

</style>
